<html>
<head>
	<meta charset="UTF-8">
	<title>用户注册</title>
	<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
</head>
<body>
		<ul class="nav nav-tabs">
  			<li role="presentation"><a href="admin.php?c=user&m=listusers">用户列表</a></li>
  			<li role="presentation"><a href="admin.php?c=user&m=regUser">用户注册</a></li>
  			<li role="presentation"><a href="admin.php?c=music&m=listmusics">视频列表</a></li>
  			<li role="presentation"><a href="admin.php?c=music&m=regmusic">添加视频</a></li>
		</ul>
<form class="form-horizontal" method="post" action="admin.php?c=user&m=adduser" enctype="multipart/form-data">
	<h3><center>用户注册</center></h3>
	<div class="form-group">
   	 	<label for="inputname" class="col-md-3 control-label">姓名</label>
   	 	<div class="col-md-6">
        <input type="text" class="form-control" id="inputname" placeholder="姓名" name="username">
   	    </div>
  	</div>

	<div class="form-group">
   	 	<label for="inputpass" class="col-md-3 control-label">密码</label>
   	 	<div class="col-md-6">
        <input type="password" class="form-control" id="inputpass" placeholder="密码" name="password">
   	    </div>
  	</div>
  	
  	<div class="form-group">
   	 	<label for="inlineRadio" class="col-md-3 control-label">性别</label>
   	 	<div class="col-md-6">
        	<label class="radio-inline">
 			<input type="radio" name="gender" id="inlineRadio1" value="0"> 男
			</label>
			<label class="radio-inline">
 			<input type="radio" name="gender" id="inlineRadio2" value="1"> 女
			</label>
   	    </div>

  	</div>
  
  	<div class="form-group">
   	 	<label for="inputdate" class="col-md-3 control-label">生日</label>
   	 	<div class="col-md-6">
        <input type="date" class="form-control" id="inputdate" name="birthdate">
   	    </div>
  	</div>
  	
  	<div class="form-group">
   	 	<label for="inlineCheckbox" class="col-md-3 control-label">爱好</label>
   	 	<div class="col-md-6">
      	 	<label class="checkbox-inline">
 			<input type="checkbox" id="inlineCheckbox1" name="hobby[]"  value="旅游"> 旅游
			</label>
			<label class="checkbox-inline">
 			<input type="checkbox" id="inlineCheckbox1" name="hobby[]"  value="登山"> 登山
			</label>
			<label class="checkbox-inline">
 			<input type="checkbox" id="inlineCheckbox1" name="hobby[]"  value="上网"> 上网
			</label>
			<label class="checkbox-inline">
 			<input type="checkbox" id="inlineCheckbox1" name="hobby[]"  value="游泳"> 游泳
			</label>
   	    </div>
  	</div>

  	<div class="form-group">
   	 	<label for="inputdegree" class="col-md-3 control-label">学历</label>
   	 	<div class="col-md-6">
        <select class="form-control" name="degree" id="">
				<option value="1">高中</option>	
				<option value="2">大学</option>
				<option value="3">硕士</option>	
				<option value="4">博士</option>	
		</select>
   	    </div>
  	</div>

  	<div class="form-group">
   	 	<label for="inputintro" class="col-md-3 control-label">自我介绍</label>
   	 	<div class="col-md-6">
        <textarea class="form-control" rows="3" id="inputintro"  placeholder="自我介绍" name="intro"></textarea>
   	    </div>
  	</div>
	
	<div class="form-group">
   	 	<label class="col-md-3 control-label">头像</label>
   	 	<div class="col-md-6">
   		 	<input type="file" name="pic">	
   	    </div>
  	</div>
	
		<div class="form-group">
    		<div class="col-sm-offset-3 col-sm-6"> <!-- 向右位移两个方格 -->
     		 <button type="submit" class="btn btn-default">提交</button>
     		 <button type="reset" class="btn btn-default">重置</button>
   			 </div>
		</div>



</form>
</body>
	









<!-- 
	<center><h2>请填写用户注册信息</h2></center>
	<table border="1" align="center" width="35%">
	<form method="post" action="index.php?c=user&m=adduser" enctype="multipart/form-data">
		<tr>
			<td>姓名</td>
			<td><input type="text" name="username"></td>
		</tr>
		<tr>
			<td>密码</td>
			<td><input type="password" name="password"></td>
		</tr>
		<tr>
			<td>性别</td>
			<td><input type="radio" name="gender" value="0" checked>男默认选中
				<input type="radio" name="gender" value="1">女
			</td>
		</tr>
		<tr>
			<td>生日</td>
			<td><input type="date" name="birthdate"></td>
		</tr>
		<tr>
			<td>爱好</td>
			<td>
			<input type="checkbox" name="hobby[]" value="旅游">旅游
			<input type="checkbox" name="hobby[]" value="登山">登山
			<input type="checkbox" name="hobby[]" value="上网">上网
			<input type="checkbox" name="hobby[]" value="游泳">游泳
			</td>
		</tr>
		<tr>
			<td>学历</td>
			<td>
				<select name="degree" id="">
					<option value="1">高中</option>	
					<option value="2">大学</option>
					<option value="3">硕士</option>	
					<option value="4">博士</option>	
				</select>
			</td>
		</tr>
		<tr>
			<td>自我介绍</td>
			<td>
				<textarea name="intro" id="" cols="30" rows="10"></textarea>
			</td>
		</tr>
		<tr>
			<td>头像</td>
			<td><input type="file" name="pic"></td>
		</tr>
		<tr>
			<td colspan="2" align="center">
				<input type="submit" value="提交">
				<input type="reset" value="重置">
			</td>
		</tr>
	</form>
	</table>
	
</body>
</html> -->